// 网易云音乐相关的 API 接口
import NeteaseCloudMusicApi from '@/utils/NeteaseCloudMusicApi'

// 按需导出热搜列表数据
export const getHotSrarchListAPI = function () {
  return NeteaseCloudMusicApi.get('/search/hot/detail')
}

// 按需导出搜索数据
export const getSearchListAPI = function (params) {
  return NeteaseCloudMusicApi.get('/cloudsearch', { params })
}

// 按需导出搜索建议数据
export const getSearchSuggestListAPI = function (params) {
  return NeteaseCloudMusicApi.get('/search/suggest', { params })
}
